package com.xy.xylive.mapper;

import com.xy.xylive.domain.AudienceSetting;


public interface AudienceSettingMapper
{
    /**
     * 查询观众
     * 
     * @param id 观众主键
     * @return 观众
     */
    public AudienceSetting selectAudienceSettingById(Integer id);

    /**
     * 新增观众
     * 
     * @param audienceSetting 观众
     * @return 结果
     */
    public int insertAudienceSetting(AudienceSetting audienceSetting);

    /**
     * 修改观众
     * 
     * @param audienceSetting 观众
     * @return 结果
     */
    public int updateAudienceSetting(AudienceSetting audienceSetting);

    /**
     * 删除观众
     * 
     * @param id 观众主键
     * @return 结果
     */
    public int deleteAudienceSettingById(Integer id);

    AudienceSetting selectAudienceSettingByLiveId(Integer liveId);
}
